//
//  KSInboundDiffTableViewCell.swift
//  Supermarket
//
//  Created by liuxm on 2017/9/28.
//  Copyright © 2017年 kushao. All rights reserved.
//

import UIKit

/// 验收差异
class KSInboundDiffTableViewCell: UITableViewCell {

    /// 订单号
    @IBOutlet weak var orderNoLabel: UILabel!
    /// 供应商
    @IBOutlet weak var supplierLabel: UILabel!
    /// 退货数量
    @IBOutlet weak var numLabel: UILabel!
    /// 整单金额
    @IBOutlet weak var moneyLabel: UILabel!
    
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }
    
    func setDataWithModel(model: KSInboundDiffDataListModel) {
        orderNoLabel.text = model.order_number
        supplierLabel.text = model.merchant_name
        numLabel.text = "\(model.total_diff_num)"
        moneyLabel.text = "\(model.order_amount)"
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
}
